package com.neusoft.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 审批人关联表
 */
@ApiModel(description="审批人关联表")
@Data
@TableName(value = "approval_relate")
public class ApprovalRelate {
    /**
     * 部门id,关联dept.id
     */
    @TableId(value = "dept_id", type = IdType.INPUT)
    @ApiModelProperty(value="部门id,关联dept.id")
    private Integer deptId;

    /**
     * 考勤审批人id,关联employee.id
     */
    @TableField(value = "attendance_approver_id")
    @ApiModelProperty(value="考勤审批人id,关联employee.id")
    private Integer attendanceApproverId;

    /**
     * 请假审批人id,关联employee.id
     */
    @TableField(value = "vocation_approver_id")
    @ApiModelProperty(value="请假审批人id,关联employee.id")
    private Integer vocationApproverId;
}